<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="description" content="">
    <meta http-equiv="x-dns-prefetch-control" content="on">

    <title>嘉定计量质量检测公共服务平台</title>
    <link href="css/css.css" rel="stylesheet" type="text/css"><!--全局-->
    <link href="css/jiliang.css" rel="stylesheet" type="text/css"><!--指定-->
     
	<script  src="common/js/jquery-easyui-1.2.5/jquery-1.7.1.min.js">  //引入jq
	</script> 
	<script type="text/javascript" src="common/js/json2.js"></script>
	<script type="text/javascript" src="common/js/jquery.min.js"></script>
	<script  src="common/js/init.js"> </script> 
	<script  src="common/js/basefast.js"> </script> 
      <script type="text/javascript">  
       		$(document).ready(function(){
       			$("#login").bind("click",function(){
       					var  tel=$("#tel").val();
       					var	password=$("#password").val(); 
       					var info = {};
						info.sForm = { "tel":tel,"password":password};
						Communicator.send("LoginService", "loginapp", info, {
							onSuccess : function(data){ 
								if(data.msg==1){ 
							  			window.location="main.html?id="+data.token ; 
								}else{
									alert(data.msg);
									return;
								}
							},onFail:function(xmlR, status, e) {
								//$.messager.progress('close');
					 
							}
						});
       					
       			});
       			 
       		});
       		 
      
      </script>
</head>
<body class="bg_img">
<section class="loginlogo"><img src="img/title.png" width="100%"/></section>
<section class="loginarea mt77">
    <div class="itemgroup">
        <div class="inputarea">
            <span class="inputname">用户名</span>
            <span class="inputform ">
                <i class="iconfont wipe">&#xe614;</i>
                <input class="formstyle w100" type="text" placeholder="请输入手机号" id="tel" value="15588888888"/>
            </span>
        </div>
        <div class="inputarea">
            <span class="inputname">密码</span>
            <span class="inputform ">
                <i class="iconfont wipe">&#xe614;</i>
                <input class="formstyle w100" type="password" placeholder="请输入密码" id="password" value="111111"/>
            </span>
        </div>
    </div>
     <button class="btn bottomonebtn mt38" id="login">登录</button>
</section>
</body>
</html>